package com.telit.firecommand.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;


@Builder
@Data
public class PatPersonPatrolInfoPageDto {

    //主键
    @ApiModelProperty(value = "巡护主键")
    private Long id;

    //巡护人员ID
    @ApiModelProperty(value = "巡护人员ID")
    private Long protectorId;

    //巡护人员类型;1护林员，2林长
    @ApiModelProperty(value = "巡护人员类型;1护林员，2林长")
    private String personType;

    @ApiModelProperty(value = "巡护人员名称")
    private String name;

    @ApiModelProperty("行政区code")
    private String district;

    @ApiModelProperty("责任区code")
    private String zoneCode;

    //巡护开始时间
    @ApiModelProperty(value = "巡护开始时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String startTime;

    //巡护结束时间
    @ApiModelProperty(value = "巡护结束时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String endTime;

    private int current;

    private int size;

}
